﻿using System;
using IInject.Properties;

namespace IInject
{
    public class RegistrationException : Exception
    {
        public RegistrationException(Type type, string key) : base(string.Format(Resources.TypeAlreadyRegisteredExceptionMessage, type, key))
        {
        }
    }
}
